package com.sheep.cloud.service;

import com.sheep.cloud.dto.request.knowledge.ICommentPlatformAddVO;
import com.sheep.cloud.dto.response.ApiResult;

/**
 * @author ALEX
 * @since 2022/8/15 13:18
 */
public interface CommentPlatformService {

    /**
     * 在评论角发表评论
     * @param commentPlatformAddVO 评论角评论添加VO
     * @return ApiResult
     */
    ApiResult<?> insertComment(ICommentPlatformAddVO commentPlatformAddVO);

    /**
     * 根据id删除评论角评论
     * @param id 评论角评论id
     * @return ApiResult
     */
    ApiResult<?> deleteCommentById(Integer id);


    /**
     * 获取所有评论
     * @return ApiResult
     */
    ApiResult<?> getAllComment();
}
